{pboot:sort scode={sort:tcode}}
{pboot:if('[sort:pic]'!='')}
<div class="banner-sub" style="background-image: url([sort:pic]);"></div>
{else}
{pboot:slide num=1 gid=2}
<div class="banner-sub" style="background-image: url([slide:src]);"></div>
{/pboot:slide}
{/pboot:if}
{/pboot:sort}